package com.oppo.userServer.presentationO.converter;

import com.oppo.userServer.application.dto.UserDTO;
import com.oppo.userServer.presentationO.vo.UserParamVO;

/**
 * @author 清梦
 * @version 1.0.0
 * @Description
 * @createTime 2024年03月11日 22:57:00
 */
public class UserParamVOConverter {

    public static UserDTO converterUserParamVOToUserDTO(UserParamVO userParamVO) {
        UserDTO userDTO = new UserDTO();
        userDTO.setUserName(userDTO.getUserName());
        userDTO.setUserPhone(userDTO.getUserPhone());
        return userDTO;
    }

}
